package com.my.geojson.geotools.service.base;


import java.util.ArrayList;

public interface SimpleGeoToolService<T> {

    /**
     * 新增点位矢量要素---测试---参数写死了
     * @param lon
     * @param lat
     * @return
     */
    public boolean addPointFeature(Double lon, Double lat,Class<T> tClass);

    /**
     * 添加数据
     * @param val 数据对象
     * @param tClass 对象class
     * @return
     */
    public boolean addFeature(Object val,Class<T> tClass);

    public boolean removeFeatureByName(String name,Class<T> tClass);

    public ArrayList<T> queryFeature(String filterStr,Class<T> tClass);

    public boolean modifyFeature(Object val,Class<T> tClass);
}
